package Campus.help.user.service;

import Campus.help.common.utils.R;
import Campus.help.user.entity.MaintenanceWorkerInfo;
import Campus.help.user.vo.WorkerInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haoyun.xiong
 * @since 2023-05-09
 */
public interface MaintenanceWorkerInfoService extends IService<MaintenanceWorkerInfo> {

    R addWokerInfo(WorkerInfoVo vo);

    R updateWokerInfo(MaintenanceWorkerInfo vo);

    R getWokerInfo();

    MaintenanceWorkerInfo getWokerByAcount(String userName);

    R delWokerInfo(Long id);
}
